package com.ruoyi.organization.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 居民评议对象 biz_consult
 * 
 * @author ruoyi
 * @date 2024-08-07
 */
public class BizConsult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 咨询Id */
    private String consultId;

    /** 来自谁的提问 关联peop_id */
    @Excel(name = "来自谁的提问 关联peop_id")
    private Long peopleId;

    /** 居民称呼 */
    @Excel(name = "居民称呼")
    private String peopleName;

    /** 网格ID */
    @Excel(name = "网格ID")
    private Long gridId;

    /** 社区名称 */
    @Excel(name = "社区名称")
    private String communityName;

    /** 评议人所在社区ID */
    @Excel(name = "评议人所在社区ID")
    private Long communityId;

    /** 居民评议类型 0：咨询，1：建议，2：投诉, 3 荣誉 */
    @Excel(name = "居民评议类型 0：咨询，1：建议，2：投诉, 3 荣誉")
    private Long type;

    /** 咨询内容 */
    @Excel(name = "咨询内容")
    private String content;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String picUrl;

    /** 回复状态 0：待回复，1：已回复 */
    @Excel(name = "回复状态 0：待回复，1：已回复")
    private Long status;

    /** 是否匿名提交 0：否，1：是 */
    @Excel(name = "是否匿名提交 0：否，1：是")
    private Long anonymous;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String reply;

    /** 回复的ID */
    @Excel(name = "回复的ID")
    private Long replyPeopleId;

    /** 回复人的名称 */
    @Excel(name = "回复人的名称")
    private String replyPeopleName;

    /** 回复的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 获取的积分 */
    @Excel(name = "获取的积分")
    private Long score;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    public void setConsultId(String consultId) 
    {
        this.consultId = consultId;
    }

    public String getConsultId() 
    {
        return consultId;
    }
    public void setPeopleId(Long peopleId) 
    {
        this.peopleId = peopleId;
    }

    public Long getPeopleId() 
    {
        return peopleId;
    }
    public void setPeopleName(String peopleName) 
    {
        this.peopleName = peopleName;
    }

    public String getPeopleName() 
    {
        return peopleName;
    }
    public void setGridId(Long gridId) 
    {
        this.gridId = gridId;
    }

    public Long getGridId() 
    {
        return gridId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAnonymous(Long anonymous) 
    {
        this.anonymous = anonymous;
    }

    public Long getAnonymous() 
    {
        return anonymous;
    }
    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }
    public void setReplyPeopleId(Long replyPeopleId) 
    {
        this.replyPeopleId = replyPeopleId;
    }

    public Long getReplyPeopleId() 
    {
        return replyPeopleId;
    }
    public void setReplyPeopleName(String replyPeopleName) 
    {
        this.replyPeopleName = replyPeopleName;
    }

    public String getReplyPeopleName() 
    {
        return replyPeopleName;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consultId", getConsultId())
            .append("peopleId", getPeopleId())
            .append("peopleName", getPeopleName())
            .append("gridId", getGridId())
            .append("communityName", getCommunityName())
            .append("communityId", getCommunityId())
            .append("type", getType())
            .append("content", getContent())
            .append("picUrl", getPicUrl())
            .append("status", getStatus())
            .append("anonymous", getAnonymous())
            .append("reply", getReply())
            .append("replyPeopleId", getReplyPeopleId())
            .append("replyPeopleName", getReplyPeopleName())
            .append("replyTime", getReplyTime())
            .append("score", getScore())
            .append("applyTime", getApplyTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
